Skip to content

feat: add benchmark-driven workflow for performance issues#158

Merged
LeeCampbell merged 2 commits intoHdrHistogram:mainfrom
LeeCampbell:feat/benchmark-driven-workflow
Mar 22, 2026
Merged

feat: add benchmark-driven workflow for performance issues#158
LeeCampbell merged 2 commits intoHdrHistogram:mainfrom
LeeCampbell:feat/benchmark-driven-workflow

Conversation

@LeeCampbell
Copy link
Collaborator

Summary

  • Expands the "Performance Testing" section in spec/tech-standards/testing-standards.md with a comprehensive benchmark-driven development methodology (Phase 1 baseline → Phase 2 implement → Phase 3 validate)
  • Updates all autonomous agent prompts (pick-issue, review-brief, create-tasks, execute-tasks) to classify issues as functional or performance and enforce benchmark-first task ordering
  • Adds benchmark comparison output to PR body generation in agent-loop.sh

Test plan

  • Verify spec/tech-standards/testing-standards.md renders correctly and covers framework details, 3-phase process, design guidelines, and running instructions
  • Verify autonomous prompts produce correct task ordering by re-running ./scripts/run.sh 141 against a performance issue
  • Confirm the agent brief includes Category: performance and Benchmark strategy fields
  • Confirm the task list has Phase 1 benchmarks before Phase 2 implementation
  • Confirm plan/benchmarks/baseline.md is populated before any implementation changes
  • Confirm plan/benchmarks/comparison.md exists after implementation and appears in PR body

🤖 Generated with Claude Code

Establishes a benchmark-first methodology in testing standards and
updates autonomous agent prompts to enforce Phase 1 (baseline) →
Phase 2 (implement) → Phase 3 (validate) ordering for performance
issues, ensuring baseline measurements exist before any code changes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@LeeCampbell LeeCampbell force-pushed the feat/benchmark-driven-workflow branch from d857240 to a0ffab7 Compare March 22, 2026 03:46
- Remove stale Program.cs from git add in execute-tasks.md
- Clarify --job short is only for Phase 2; Phase 1 and 3 use defaults
- Add trailing newlines to create-tasks.md and execute-tasks.md
- Replace static benchmarks table with directory lookup directive

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@LeeCampbell LeeCampbell enabled auto-merge (squash) March 22, 2026 05:25
@LeeCampbell LeeCampbell disabled auto-merge March 22, 2026 05:26
@LeeCampbell LeeCampbell merged commit aedd827 into HdrHistogram:main Mar 22, 2026
2 checks passed
@LeeCampbell LeeCampbell deleted the feat/benchmark-driven-workflow branch March 22, 2026 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant